package com.anthonybennis.blender.client.pages;

import com.google.gwt.user.client.ui.Frame;
import com.google.gwt.user.client.ui.Widget;

/**
 * 
 * @author abennis
 *
 */
public abstract class AWebPage 
{	
	/**
	 * @return
	 */
	public Widget create()
	{
		String url = this.getURL();
		Frame webPage = new Frame(url);
		webPage.setSize("100%", "100%");
		
		return webPage;
	}
	
	/**
	 * 
	 * @return
	 */
	abstract String getURL(); 
}
